{% extends 'demo/base.html' %}
{% load static %}
{% block title %}
    账号注册
{% endblock %}
{% block header %}
    专业IT技术博客平台
{% endblock %}
{% block link %}
<link rel="stylesheet" href="{% static 'css/user/register.css' %}">
{% endblock %}
{% block main %}
    <div class="bg">
    <div class="slogan">
        <h2>欢迎注册</h2>
        <h2>专业IT技术博客平台</h2>
    </div>
    <div class="form-box">
        <div class="main">
            <form method="post">
                {% csrf_token %}
                <ul>
                    {{ form }}
                    <li>
                        {{ messsage }}
                        <input type="submit" value="立即注册" class="submit-btn">
                    </li>
                </ul>
            </form>
            <div class="bottom-box">
                <a href="{% url 'login' %}">已有账号，直接登录</a>
            </div>
        </div>
    </div>
    </div>
{% endblock %}